package com.example.springboot.entity;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.util.Date;

@Data

public class Question {
    private Integer id;
    private String name;
    private String username;
    private Integer grade;
    private String answer;
    private String type;
    private String topic;
    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")

    private Date createtime;
    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
    private Date updatetime;

}